cmake_minimum_required(VERSION 3.10.0)
project(cpp-jsoniter VERSION 0.1.0)

include(CTest)
enable_testing()

add_executable(cpp-jsoniter main.cpp)

target_include_directories(cpp-jsoniter
        PRIVATE
        ${PROJECT_SOURCE_DIR}/include
        ${PROJECT_SOURCE_DIR}/contrib/rapidjson/include
        )
set_property(TARGET cpp-jsoniter PROPERTY CXX_STANDARD 11)

set(CPACK_PROJECT_NAME ${PROJECT_NAME})
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION})
include(CPack)
